 /* 
 * File:   cAnimatedVisibleItem.cpp
 * Author: josep
 * 
 * Created on 4 / gener / 2011, 18:20
 */

#include "cAnimatedVisibleItem.h"

cAnimatedVisibleItem::cAnimatedVisibleItem():cItem(), cAbstractAnimatedObject() {
    ObjetctType=ANIMATED_ITEM_OBJECT_TYPE;
}

cAnimatedVisibleItem::cAnimatedVisibleItem(const cAnimatedVisibleItem& orig):cItem(orig),
                                                            cAbstractAnimatedObject(orig) {
}

cAnimatedVisibleItem::~cAnimatedVisibleItem() {
}

void cAnimatedVisibleItem::Draw(){
    cAbstractAnimatedObject::Draw(GetPosX(), GetPosY(), GetTexture(),
                                        GetTextureWidth(), GetTextureHeight());
}

